package com.ucw.ucwclient.dal.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ucw.ucwclient.dal.dataobject.USchoolCommonweal;

@Repository
public interface USchoolCommonwealMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(USchoolCommonweal record);

    int insertSelective(USchoolCommonweal record);

    USchoolCommonweal selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(USchoolCommonweal record);

    int updateByPrimaryKeyWithBLOBs(USchoolCommonweal record);

    int updateByPrimaryKey(USchoolCommonweal record);

	USchoolCommonweal selectBySchoolAType(@Param("schoolId")int schoolId, @Param("type")int type);
}